home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr49 / pgp23src.zip / ARMOR.H < prev    next >
C/C++ Source or Header  |  1993-05-09  |  683b  |  23 lines

  1. #ifndef ARMORP_H
  2. #define ARMORP_H
  3.  
  4. #include <stdio.h>
  5.  
  6. /* #define crcword unsigned short */    /* if CRCBITS is 16 */
  7. /* #define crcword unsigned short */    /* if CRCBITS is 16 */
  8.  
  9. #ifdef __alpha
  10. #define crcword unsigned int        /* if CRCBITS is 24 or 32 */
  11. #else
  12. #define crcword unsigned long        /* if CRCBITS is 24 or 32 */
  13. #endif
  14.  
  15. extern crcword crcupdate(byte data, register crcword accum);
  16. extern void init_crc(void);
  17. extern int armor_file (char *infile, char *outfile, char *filename,
  18.     char *clearname);
  19. extern int de_armor_file(char *infile, char *outfile, long *curline);
  20. extern boolean is_armor_file (char *infile, long startline);
  21.  
  22. #endif /* #ifdef ARMORP_H */
  23.